package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党员对象 ic_party_members
 * 
 * @author ruoyi
 * @date 2024-07-10
 */
public class IcPartyMembers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long memberId;

    /** 党员姓名 */
    @Excel(name = "党员姓名")
    private String memberName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 入党日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入党日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinPartyDate;

    /** 所属组织ID */
    @Excel(name = "所属组织ID")
    private Long orgId;

    /** 职务 */
    @Excel(name = "职务")
    private String position;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }

    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }

    public void setJoinPartyDate(Date joinPartyDate) 
    {
        this.joinPartyDate = joinPartyDate;
    }

    public Date getJoinPartyDate() 
    {
        return joinPartyDate;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("memberId", getMemberId())
            .append("memberName", getMemberName())
            .append("idNumber", getIdNumber())
            .append("gender", getGender())
            .append("birthDate", getBirthDate())
            .append("joinPartyDate", getJoinPartyDate())
            .append("orgId", getOrgId())
            .append("position", getPosition())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
